package cn.kgc.client;

import cn.kgc.entity.Clazz;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author mosin
 * date 2022/1/17
 * @version 1.0
 */
@FeignClient("CLAZZS")
public interface ClazzClient {
     @GetMapping("/clazzs/{id}")
     Clazz getClazz(@PathVariable Integer id);
}
